package com.lly.songhigh.entity;

import java.util.List;

/**
 * Created by 李海龙 on 15/10/27.
 */
public class SearchBlur {


    /**
     * code : 1
     * data : {"song":[{"_id":26165030,"name":"喜欢你","singer_name":"G.E.M.邓紫棋","weight":6.24843},{"_id":1628832,"name":"喜欢你","singer_name":"Beyond","weight":5.3048515}],"keyword":[{"hit":2270,"val":"喜欢你","hot":3709},{"hit":25,"val":"喜欢你邓紫棋","hot":1402},{"hit":2,"val":"喜欢你藏语版","hot":331}],"order":"1230"}
     */

    private int code;
    private DataEntity data;

    public void setCode(int code) {
        this.code = code;
    }

    public void setData(DataEntity data) {
        this.data = data;
    }

    public int getCode() {
        return code;
    }

    public DataEntity getData() {
        return data;
    }

    public static class DataEntity {
        /**
         * song : [{"_id":26165030,"name":"喜欢你","singer_name":"G.E.M.邓紫棋","weight":6.24843},{"_id":1628832,"name":"喜欢你","singer_name":"Beyond","weight":5.3048515}]
         * keyword : [{"hit":2270,"val":"喜欢你","hot":3709},{"hit":25,"val":"喜欢你邓紫棋","hot":1402},{"hit":2,"val":"喜欢你藏语版","hot":331}]
         * order : 1230
         */

        private String order;
        private List<SongEntity> song;
        private List<KeywordEntity> keyword;

        public void setOrder(String order) {
            this.order = order;
        }

        public void setSong(List<SongEntity> song) {
            this.song = song;
        }

        public void setKeyword(List<KeywordEntity> keyword) {
            this.keyword = keyword;
        }

        public String getOrder() {
            return order;
        }

        public List<SongEntity> getSong() {
            return song;
        }

        public List<KeywordEntity> getKeyword() {
            return keyword;
        }

        public static class SongEntity {
            /**
             * _id : 26165030
             * name : 喜欢你
             * singer_name : G.E.M.邓紫棋
             * weight : 6.24843
             */

            private int _id;
            private String name;
            private String singer_name;
            private double weight;

            public void set_id(int _id) {
                this._id = _id;
            }

            public void setName(String name) {
                this.name = name;
            }

            public void setSinger_name(String singer_name) {
                this.singer_name = singer_name;
            }

            public void setWeight(double weight) {
                this.weight = weight;
            }

            public int get_id() {
                return _id;
            }

            public String getName() {
                return name;
            }

            public String getSinger_name() {
                return singer_name;
            }

            public double getWeight() {
                return weight;
            }
        }

        public static class KeywordEntity {
            /**
             * hit : 2270
             * val : 喜欢你
             * hot : 3709
             */

            private int hit;
            private String val;
            private int hot;

            public void setHit(int hit) {
                this.hit = hit;
            }

            public void setVal(String val) {
                this.val = val;
            }

            public void setHot(int hot) {
                this.hot = hot;
            }

            public int getHit() {
                return hit;
            }

            public String getVal() {
                return val;
            }

            public int getHot() {
                return hot;
            }
        }
    }
}
